package com.hwqsdk.myapplication.practise;

import android.widget.ImageView;

import androidx.databinding.BindingAdapter;

import com.bumptech.glide.Glide;

/**
 * Create by Fanketly on 2021/11/24
 * Gitee:https://gitee.com/fanketly
 */
public class BindingAd {
    @BindingAdapter("setImg")
    public static void setImg(ImageView img, Object url) {
        Glide.with(img).load(url).into(img);
    }

}
